public class Main18 {
    public static void main(String[] args){
        outerLoop:
        for(int i=0;i<3;i++){
            innerLoop:
            System.out.println("Pass " + i + ":");
            for(int j=0;j<3;j++){
                if(i==1&&j==1) {
                    break outerLoop;
                }
                System.out.println("i:"+i+ ",j: "+j);
            }
        }
    }
}
